﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public enum AtkEffectType
{
    /// <summary>
    /// 减hp
    /// </summary>
    LoseHp,
    /// <summary>
    /// 暴击减hp
    /// </summary>
    LoseHpByBaoJi,

    /// <summary>
    /// 闪避
    /// </summary>
    Dodge,

    /// <summary>
    /// 添加mp
    /// </summary>
    Mp,
}

public class AtkEffect
{
    /// <summary>
    /// 效果类型
    /// </summary>
    public AtkEffectType eType;

    /// <summary>
    /// 效果值
    /// </summary>
    public int Value;

    /// <summary>
    /// 当前hp
    /// </summary>
    public int CurrHp;

    /// <summary>
    /// 当前mp
    /// </summary>
    public int CurrMp;

    /// <summary>
    /// 目标位置 
    /// </summary>
    public FightItem Target;
}

public class FightRecordItem
{
    /// <summary>
    /// 攻击方
    /// </summary>
    public FightItem Atk;

    public int AtkMp;

    /// <summary>
    /// 回合数
    /// </summary>
    public int BoutCount;

    /// <summary>
    /// 技能
    /// </summary>
    public InitSkill Skill;

    /// <summary>
    /// 效果集合
    /// </summary>
    public List<AtkEffect> AtkEffectList;

    public FightRecordItem()
    {
        AtkEffectList = new List<AtkEffect>();
    }
}
